package com.mcxx.modules.miniSalvation.order.entity;

import lombok.Data;

import java.util.Date;


@Data
public class OrderStateEntity {

    private String orderId;

    private String bizState;

    private  String preBizState;

    private  String state;

    private  String preOrderVersion;

    private  String countType;

    private String supplyType;

    private String supplyOrgId;

    private String supplyOrgName;

    private String standType;

    private String finishLevel;

    private  Double salvMoney;

    private  Double baseSalary;

    private  Double careSalary;

    private  String startMonth;

    private  String endMonth;

    private  Integer saveMemberNumber;

    private Date commitDate;

    private Date checkDate;

    private String backContent;

    public OrderStateEntity(){}


    public OrderStateEntity(String orderId, String bizState, String preOrderVersion){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preOrderVersion  = preOrderVersion;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String state, String preOrderVersion){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.state = state;
        this.preOrderVersion  = preOrderVersion;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String state, String preOrderVersion, Date checkDate){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.state = state;
        this.preOrderVersion  = preOrderVersion;
        this.checkDate  = checkDate;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String preOrderVersion){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.preOrderVersion  = preOrderVersion;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String state, String preOrderVersion, String countType, Double salvMoney, String endMonth){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.state = state;
        this.preOrderVersion  = preOrderVersion;
        this.countType = countType;
        this.salvMoney = salvMoney;
        this.endMonth = endMonth;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String standType, String preOrderVersion, String supplyType,
                            String supplyOrgId, String supplyOrgName, Double salvMoney, String endMonth){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.standType = standType;
        this.preOrderVersion  = preOrderVersion;
        this.supplyType = supplyType;
        this.supplyOrgId = supplyOrgId;
        this.supplyOrgName = supplyOrgName;
        this.salvMoney = salvMoney;
        this.endMonth = endMonth;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String state, String preOrderVersion, String countType,
                            Double salvMoney, Integer saveMemberNumber){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.state = state;
        this.preOrderVersion  = preOrderVersion;
        this.countType = countType;
        this.salvMoney = salvMoney;
        this.saveMemberNumber = saveMemberNumber;
    }


    public OrderStateEntity(String orderId, String bizState, String preBizState, String state, String preOrderVersion, String supplyType,
                            String supplyOrgId, Double salvMoney, Integer saveMemberNumber){
        this.orderId = orderId;
        this.bizState = bizState;
        this.preBizState = preBizState;
        this.state = state;
        this.preOrderVersion  = preOrderVersion;
        this.supplyType = supplyType;
        this.supplyOrgId = supplyOrgId;
        this.salvMoney = salvMoney;
        this.saveMemberNumber = saveMemberNumber;
    }


    public OrderStateEntity(String orderId, String bizState, String state, Double salvMoney, String startMonth, String endMonth, String countType){
        this.orderId = orderId;
        this.bizState = bizState;
        this.state = state;
        this.salvMoney = salvMoney;
        this.startMonth = startMonth;
        this.endMonth = endMonth;
        this.countType = countType;
    }
}
